package ro.training.date;

import java.util.Date;
import java.util.StringTokenizer;

public class TimeT {

	String time;
	 
	public String getTime() {
		return time;
	}
	public void setTime(String time) {
		this.time = time;
	}
	public TimeT(){
		String [] str = new Date().toString().split(" ");
 				time = str[3]; 
		
	}
	public void showTime(){
		System.out.println(time);
	}
	
	
}
